﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="PendingRequests.aspx.cs" Inherits="RestHouseReservation.Admin" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html>
<head>
	<meta http-equiv="content-type" content="text/html;charset=utf-8" />
	<link rel="shortcut icon" href="images/favicon.ico" />

	<style type="text/css">
		@import url(stylesheets/dark/styles.css);		/*link to the main CSS file */
	</style>
	
	<!-- Initialise jQuery Library -->
	<script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.6.2/jquery.min.js"></script>
	<script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jqueryui/1.8/jquery-ui.min.js"></script>

	<title>Inspiration | Services page</title>

</head>
<body id="sp">
<!-- Start Main Nav -->
<div class="mainnav_full">
	<div id="MainNav">
		<a href="index.html" class="logo"><img src="images/logo.png" width="180" height="50" alt="" /></a>
		<div id="menu">
			<ul class="ddsmoothmenu">
				<li><span class="menuslide"></span><a href="AdminPage.aspx" title="Home">Home<span class="menu_description">Beginning</span></a>
                	
                </li>
				<li><span class="menuslide"></span><a href="ConfirmReservation.aspx" title="Gallery">ConfirmReservation<span class="menu_description">Our Gallery</span></a></li>
				<li><span class="menuslide"></span><a href="PendingRequests.aspx" title="Gallery">ConfirmRequests<span class="menu_description">Our Gallery</span></a></li>
				
                <li><span class="menuslide"></span><a href="UpdateUser.aspx" title="Blog">Update Users<span class="menu_description">Update</span></a></li>
				<li><span class="menuslide"></span><a href="AdminHome.aspx" title="Blog">LogOut<span class="menu_description"></span></a>
					
				</li>
				
			</ul>
		</div>
		<div class="clear"></div>
	</div>
</div>
<!-- End Main Nav -->

<!-- Begin Header -->
<div class="header_full sample_01">
	<div class="head_top_shadow"></div>
	<div class="head_bot_shadow"></div>
	<div id="header"></div>
</div>
<!-- End Header -->

<!-- Start Content Wrapper -->
<div class="content_wrapper">
	<div class="PageTitle">
		<h1>Services</h1>
	</div>
	<div id="breadcrumbs">
		<a href="index.html" title="Home">Home</a> &raquo; <a href="about.html" title="About Us">About Us</a> &raquo; Services
	</div>
	<!-- Content Area -->
	<div id="content">
<form id="form1" runat="server"> 
<%if (List[0].PaNumber != "empty")
  {%>
	<%for (int i = 0; i < length; i++)
   {%>
    <%
       Name = List[i].Name;
       Rank = List[i].Rank;
       Email = List[i].Email;
       PaNum = List[i].PaNumber;
       Phone = List[i].Phone;  
     %>
     Name:<%Response.Write(Name); %>
     <br/>
     PA Number:<%Response.Write(PaNum); %>
     <br/>
     Rank:<%Response.Write(Rank); %>
     <br/>
     Email:<%Response.Write(Email); %>
     <br/>
     Phone:<%Response.Write(Phone); %>
     <br/>
     <br/>
     <br/>
    <%
   }%>
 
<asp:DropDownList ID="DropDownList1" runat="server" DataSourceID="SqlDataSource1" 
        DataTextField="PaNumber" DataValueField="PaNumber">
</asp:DropDownList>

    <asp:SqlDataSource ID="SqlDataSource1" runat="server" 
        ConnectionString="<%$ ConnectionStrings:ReservationConnectionString %>" 
        SelectCommand="SELECT * FROM [Users] WHERE ([Status] = @Status)">
        <SelectParameters>
            <asp:Parameter DefaultValue="Pending" Name="Status" Type="String" />
        </SelectParameters>
    </asp:SqlDataSource>

<asp:Button ID="Button1" runat="server" Text="Submit" onclick="Button1_Click" />
 <%}%>
 <%else
  {
      Response.Write("Sorry No Pending Requests Available...!!!");
  } %>
    </form>
		<div class="hr"></div>
		<div class="columns">
			<div class="column">
				<h2 class="icon web">Works Everywhere</h2>
				<p>Donec accumsan malesuada orcidonec sitmet<br>eros lorem isum dolor amet incon. Adipiscing elit maurise pharetra magna accumsan. Malesuada orcdonec umet lorem doloronsec.</p>
			</div>
			<div class="column">
				<h2 class="icon graph">Easy to Customize</h2>
				<p>Donec accumsan malesuada orcidonec sitmet<br>eros lorem isum dolor amet incon. Adipiscing elit maurise pharetra magna accumsan. Malesuada orcdonec umet lorem doloronsec.</p>
			</div>
			<div class="column">
				<h2 class="icon book">Full Documentation</h2>
				<p>Donec accumsan malesuada orcidonec sitmet<br>eros lorem isum dolor amet incon. Adipiscing elit maurise pharetra magna accumsan. Malesuada orcdonec umet lorem doloronsec.</p>
			</div>
			<div class="clear"></div>
		</div>
	</div>
</div>
<!-- End Content Wrapper -->

<!-- End Footer Sidebar -->
<!-- Start Footer  -->
<div class="footer_full">
	<div id="footer">
		<div class="copy">
			<p>Copyright &copy; 2011  &bull;  MixerTheme  &bull;  All rights reserved</p>
			<p class="developed_by">Developed By: <a href="http://cssmixer.com/">CSSMixer</a></p>
		</div>
		<div class="social">
			<a href="http://www.facebook.com/people/@/MixerTheme" title="Facebook"><img src="images/facebook.png" width="42" height="42" alt="" /></a>
			<a href="http://themeforest.net/user/MixerTheme/portfolio" title="Myspace"><img src="images/myspace.png" width="42" height="42" alt="" /></a>
			<a href="feed://themeforest.net/feeds/users/MixerTheme" title="RSS Feed"><img src="images/rss.png" width="42" height="42" alt="" /></a>
			<a href="http://twitter.com/MixerTheme" title="Twitter"><img src="images/twitter.png" width="42" height="42" alt="" /></a>
		</div>
		<div class="clear"></div>
	</div>
</div>
<!-- End Footer  -->

<!-- Theme Hook -->
<script type="text/javascript" src="js/common.js"></script>

</body>
</html>